export interface SunnyResultDetail {
  id: number;
  resultId: number;
  parentId: number;
  moduleName: string;
  caseName: string;
  stepName: string;
  keywords: string;
  param1: string;
  param2: string;
  status: string;
  detail: string;
  shotPath: string;
}

/**定义树形结构的结果详情数据 */
export interface SunnyResultDetailTreeNode extends SunnyResultDetail {
  children?: SunnyResultDetailTreeNode[];
}

/**用来存放各个模块下的结果详情数据的对象结构 */
export interface ResultInModule {
  //方便通过变量作为键名取值。
  [key: string]: SunnyResultDetailTreeNode[];
}
